package com.sanjishu.enterlab.electricity.sale.shiro.freemarker.tag;

import freemarker.template.ObjectWrapper;
import freemarker.template.SimpleHash;

public class ShiroTags extends SimpleHash {
    public ShiroTags() {
        super((ObjectWrapper)null);
        put("authenticated", new AuthenticatedTag());
        put("guest", new GuestTag());
        put("hasAnyRoles", new HasAnyRolesTag());
        put("hasPermission", new HasPermissionTag());
        put("hasRole", new HasRoleTag());
        put("lacksPermission", new LacksPermissionTag());
        put("lacksRole", new LacksRoleTag());
        put("notAuthenticated", new NotAuthenticatedTag());
        put("principal", new PrincipalTag());
        put("user", new UserTag());
    }
}